<view class="loginPage">
        <import src="../detail/detail"/>
        <template is="{{template}}" data="{{my_toast_tip: my_toast_tip}}"/>
    <swiper class="swiper" indicator-active-color="rgba(0, 0, 0, 0.5)" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{3000}}" duration="{{500}}" indicator-color="#fff" >
        <block wx:for="{{imgList}}" wx:key="*this" >
            <swiper-item >
                <image   src="{{imageUrl+'/'+item}}" class="slide-image"  />
            </swiper-item>
        </block>
    </swiper>
    <!-- headerlogin -->
    <view class="header_login">
        <view class="form">
            <view class="mobile_view">
                <image mode="aspectFit" src="{{imageUrl}}/icon_user.png"></image>
                <input placeholder-class='placeholder' maxlength="11" bindinput="bindPhoneInput" placeholder="请输入手机号" type="number" />
            </view>
            <view class="code_view">
                <image src="{{imageUrl}}/icon_lock.png"></image>
                <input placeholder-class='placeholder' type="number" bindinput="bindCodeInput" placeholder="请输入验证码" />
                <view class="send {{isRightPhone==1?'active':''}}" bindtap='{{isSending ? "": "sendCode"}}'>{{countdownText}}</view>
            </view>
        </view>
        <!-- <view class="tip" style="visibility:{{showTips?'visible':'hidden'}}">{{showTipsText}}</view> -->

        <view class="login {{canSend? 'active' : ''}}" bindtap="bindPhone">登 录</view>
        <view class="info">
            <view>注册成为小麦铺会员享受多重优惠和促销</view>
            <view>注册之后可在APP或者公众号登录</view>
        </view>
    </view>
</view>